package com.lky.swagger2pro.service;

import com.lky.swagger2pro.model.Book;
import com.lky.swagger2pro.util.JsonResponseBody;
import org.springframework.stereotype.Repository;
import springfox.documentation.spring.web.json.Json;

import java.util.List;
import java.util.Map;

public interface IBookService {

    JsonResponseBody<?> deleteByPrimaryKey(String bookid);

    JsonResponseBody<?> insert(Book record);

    JsonResponseBody<Book> selectByPrimaryKey(String bookid);

    JsonResponseBody<?> updateByPrimaryKey(Book record);

    JsonResponseBody<List<Book>> queryAll();

    JsonResponseBody<Map<String,Object>> queryMap();
}